<template>
	<view>
		<view class="information-title">
			<text style="font-size: 15rpx;vertical-align: middle" >
				<icon color="#e1e1e1" style="vertical-align: middle;margin-right:5px" type="waiting" size="15"/>
				{{ exercise.createTime }}
			</text>
		</view>
		<view class="exercise">
			<view class="exercise-items">
				<view class="contentWord">
					{{exercise.content}}
				</view>
				<view class="imgGroup">
					<view class="imgGroup-items" v-for="(imgItem,imgIndex) in exercise.pic" :key="imgIndex">
						<image class="imgs" :src="imgItem" mode=""></image>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				exercise:{}
			}
		},
		onLoad(option){
			this.exercise = JSON.parse(option.val)
		},
		methods: {
			
		}
	}
</script>

<style lang="scss">
	page{
		background-color: #F5F5F5;
	}
	.information-title{
		margin: 17rpx 30rpx 11rpx;
	}
	.exercise {
		margin: 0 30rpx; 
		box-sizing: border-box;
		&-items {
			background: #FFFFFF;
			border-radius: 14rpx;
			padding: 40rpx 24rpx;
			font-weight: 500;
			margin-bottom: 24rpx;
			.contentWord {
				// width: 614px;
				// height: 71px;
				font-size: 28rpx;
				color: #333333;
				line-height: 42rpx;
			}
			.imgGroup {
				margin-top: 20rpx;
				display: flex;
				&-items {
					.imgs {
						width: 200rpx;
						height: 200rpx;
						margin-left: 10rpx;
					}
					&:nth-of-type(1){
						margin: 0;
					}
				}
			}
			.timer {
				margin-top: 24rpx;
				display: flex;
				justify-content: space-between;
				align-items: center;
				// width: 179px;
				// height: 15px;
				font-size: 20rpx;
				color: #999999;
				// line-height: 20px;
				.ellipsis {
					.img {
						width: 26rpx;
						height: 6rpx;
					}
				}
			}
			
		}
	}
</style>
